package com.prizedraw.prize_draw.mapper;

import com.prizedraw.prize_draw.common.dp.LuckInfo;
import com.prizedraw.prize_draw.entity.Draw;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author czj666
 * @since 2021-09-07
 */
@Repository
public interface DrawMapper extends BaseMapper<Draw> {

    List<Integer> getUserIdsByDrawId(Integer drawId);


//    List<LuckInfo> selectprize(Integer id);

    List<Integer> getUserDrawById(Integer id);
}
